home *** CD-ROM | disk | FTP | other *** search
/ JCSM Shareware Collection 1996 September / JCSM Shareware Collection (JCS Distribution) (September 1996).ISO / bother__ / cenvid.zip / CENVIDOS.ZIP / ASCII.BAT < prev    next >
DOS Batch File  |  1994-10-05  |  618b  |  24 lines

  1. @echo off
  2. REM ***************************************************
  3. REM *** Ascii.bat - Display the ASCII character set ***
  4. REM *** ver.1                                       ***
  5. REM ***************************************************
  6.  
  7. CEnviD %0.bat
  8. GOTO CENVI_EXIT
  9.  
  10. #define  ROW_COUNT      20
  11. #define  COL_COUNT      13
  12.  
  13. Unprintables = "\a\b\t\r\n\032\033"
  14. for ( row = 0; row < ROW_COUNT; row++ ) {
  15.    for ( col = 0; col < COL_COUNT; col++ ) {
  16.       c = ROW_COUNT*col + row
  17.       if c < 256
  18.          printf("%c-%-3d ",(NULL==strchr(Unprintables,c))?c:'.',c)
  19.    }
  20.    printf("\n")
  21. }
  22.  
  23. :CENVI_EXIT
  24.